/*
 * LeftSideOuterBorder:
 * 
 * The decorative border, on the left side, is actually two borders. The outer one
 * is visable and the inner one is use solely to maintain equal margin space on the
 * bottom (the overflow area).
 */


#ifndef LEFTSIDEOUTERBORDER_HPP
#define LEFTSIDEOUTERBORDER_HPP



#include "utilities.hpp"

#include <Wt/WHBoxLayout>
#include <Wt/WContainerWidget>
#include <Wt/WVBoxLayout>
#include <Wt/WBoxLayout>
#include <Wt/WText>
#include "LeftSideInnerBorder.hpp"
#include <Wt/WCssStyleSheet>


// LeftSideOuterBorder a visable, aesthetic element. This can be styled.
class LeftSideOuterBorder : public Wt::WContainerWidget
{
    LeftSideInnerBorder* inner_border;
    
    //TODO: Move to common CSS area:
    class SilverBorder2 : public Wt::WCssTextRule
    {
    public:
        SilverBorder2()
            :
                Wt::WCssTextRule(".silverborder2",
                                 "border-color: silver;"
                                 "border-width: thick;"
                                 "border-style: ridge;"
                                 //                                  "display:block;"
                                 //                                  "overflow:hidden;"
                                 //                                  "padding: 15px;"
                                 //                                  "margin-bottom: 25px;"
                                )
                {}
    };
    
    
public:
    LeftSideOuterBorder();
};


#endif //LEFTSIDEBORDER_HPP

